#include"Heap.h"

void test1()
{
	Heap hp;
	HeapInit(&hp);
	int a[] = { 50,100,70,65,60,32 };
	for (int i = 0; i < sizeof(a) / sizeof(a[0]); i++)
	{
		HeapPush(&hp, a[i]);
	}
	while (!HeapEmpty(&hp))
	{
		printf("%d ", HeapTop(&hp));
		HeapPop(&hp);
	}
	HeapDestory(&hp);
}

int main()
{
	test1();
	return 0;
}